import Vue from 'vue'

import App from './app.vue'
import axios from 'axios'

import Timer from './views/timer.vue'
import vcolorpicker from 'vcolorpicker'
axios.defaults.withCredentials = true;
axios.defaults.baseURL = "http://localhost:8080/upload/"
//axios.defaults.baseURL = "http://www.mikoyang.cn/upload/"
Vue.use(vcolorpicker)
Vue.prototype.$http = axios
Vue.component('Timer', Timer)
Vue.config.productionTip = false
//将设置参数置为全局访问

new Vue({
  render: (h) => h(App),
}).$mount('#app')
